.wmd-panel {
    width: 100%;
}

.wmd-input {
    height: 300px;
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
}

.wmd-preview {
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
}

.wmd-panel .btn-toolbar {
    margin-bottom: 0;
    padding: 2px 0 2px;
    width: 100%;
}

.fa-header:before {
    content: 'H';
    font-family: arial, helvetica, sans-serif;
    font-weight: bold;
}

.wmd-prompt-background {
    background-color: Black;
}

.wmd-prompt-dialog {
    border: 1px solid #999999;
    background-color: #F5F5F5;
}

.wmd-prompt-dialog > div {
    font-size: 0.8em;
    font-family: arial, helvetica, sans-serif;
}

.wmd-prompt-dialog > form > input[type="text"] {
    border: 1px solid #999999;
    color: black;
}

.wmd-prompt-dialog > form > input[type="button"] {
    border: 1px solid #888888;
    font-family: trebuchet MS, helvetica, sans-serif;
    font-size: 0.8em;
    font-weight: bold;
}

.wmd-panel {
    margin-top: 15px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 3px;
}

textarea.topic-editor {
    border: none;
}

.btn-toolbar {
    top: 0;
    width: 100%;
    margin: 0;
}

.wmd-button-bar {
    border: 1px solid #ccc;
    border-bottom: none;;
}

.btn-toolbar .btn {
    cursor: pointer;
    display: block;
    border: 5px solid #fff;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: 380px 60px;
    white-space: nowrap;
    overflow: hidden;
    text-transform: capitalize;
    box-sizing: content-box;
}

.btn-toolbar .btn:hover {
    text-decoration: none
}

textarea.form-control {
    border: none;
}

@media (max-width: 767px) {
    .btn-toolbar {
        display: none;
    }
}
